package com.gidgabs.modules.api.service;

import com.gidgabs.modules.entity.TbProductReadEntity;

import java.util.List;
import java.util.Map;

/**
 * 产品关系表-阅读表
 * 
 * @author lanyonglin
 * @email www.baidu.com
 * @date 2018-06-29 17:16:11
 */
public interface TbProductReadService {
	
	TbProductReadEntity queryObject(Integer id);

	TbProductReadEntity queryByObject(TbProductReadEntity productRead);

	List<TbProductReadEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbProductReadEntity productRead);
	
	void update(TbProductReadEntity productRead);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	int queryCount(TbProductReadEntity tbProductReadEntity);
}
